// To test that when gimmestring function malloc's data, can safely return it to the outer, without causing any compiler warning.
#include<stdio.h>
#include<stdlib.h>
#include<string.h>

char *gimmestring() {
	char *s = malloc(11*sizeof(char));
	strcpy(s, "havastring");
	return s;
}

void main(int argc, char **argv) {
	printf("%s\n", gimmestring());
}
